package com.team.service.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.team.common.core.annotation.Excel;
import com.team.common.core.web.domain.BaseEntity;

/**
 * 服务分类对象 biz_service_category
 * 
 * @author panyue
 * @date 2025-07-09
 */
public class ServiceCategory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 分类ID */
    private Long id;

    /** 分类名称（如：洗车、维修、保养） */
    @Excel(name = "分类名称", readConverterExp = "如=：洗车、维修、保养")
    private String name;

    /** 排序字段 */
    @Excel(name = "排序字段")
    private Long sort;

    /** 状态（0正常、1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常、1停用")
    private String status;

    /** 删除标志（0表示存在，1表示删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("sort", getSort())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
